package nickthissen.iracing.networking;

import android.content.Context;


public class ServiceMethod extends NetworkMethod
{
	public static final String SERVICE_BASE_URL = "http://iracingforum.nickthissen.nl/Service/ForumService2.asmx";

	public ServiceMethod(int type, String method)
	{
		super(type, SERVICE, method);
	}
	
	protected String getBaseUrl()
	{
		return SERVICE_BASE_URL;
	}

	public static ServiceMethod Get(String method)
	{
		return new ServiceMethod(GET, method);
	}
	
	public static ServiceMethod Post(String method)
	{
		return new ServiceMethod(POST, method);
	}
}
